﻿using StarsAdmin.Core.Attributes;
using System.ComponentModel.DataAnnotations;

namespace StarsAdmin.Application.Region.Dtos
{
    public class ImportRegionInput
    {
        /// <summary>
        /// 导入的列表
        /// </summary>
        [Required(ErrorMessage = "addresses 字段是必须的")]
        [NotEmptyCollection(ErrorMessage = "导入的集合不能为空")]
        public List<AddRegionInput> Regions { get; set; }
    }
}